package com.example.httpsocket.servlet.parentServlet;

import com.example.httpsocket.entity.MyRequest;
import com.example.httpsocket.entity.MyResponse;

/**
 * @author Huangyt
 * @version 1.0
 * @date 2020/8/27 11:52
 */
public interface MyServlet {
    void init() throws Exception;

    void service(MyRequest myRequest, MyResponse myResponse) throws Exception;

    void destroy();
}
